package messagesPacks;

import messagesPacks.GenericMessage.msgType;

public class SubscriberUpdateProfileMessage extends GenericMessage 
{

	private static final long serialVersionUID = 1L;
	
	private String username;
	private String password;
	private int    updateResult = -9;
	private String address;
	private String email;
	private String phone;
	
	
	public SubscriberUpdateProfileMessage()
	{
		 this.type = msgType.SubscUpdateProfileMSG;
		 this.username  = ("") ;
		 this.password = ("") ;
		 this.address = ("") ;
		 this.email = ("") ;
		 this.phone = ("") ;
	}

	public SubscriberUpdateProfileMessage(String id , String pass ,String address , String email , String phone)
	{
		 this.type = msgType.SubscUpdateProfileMSG;
		 this.username  = id ;
		 this.password = pass ;
		 this.address = address ;
		 this.email = email ;
		 this.phone = phone ;
	}
	
	public String getUsername()
	{
		return username;
	}


	public void setUsername(String username) 
	{
		this.username = username;
	}


	public String getPassword() 
	{
		return password;
	}


	public void setPassword(String password)
	{
		this.password = password;
	}


	public int getUpdateResult()
	{
		return updateResult;
	}


	public void setUpdateResult(int updateResult)
	{
		this.updateResult = updateResult;
	}


	public String getAddress()
	{
		return address;
	}


	public void setAddress(String address) 
	{
		this.address = address;
	}


	public String getEmail() 
	{
		return email;
	}


	public void setEmail(String email) 
	{
		this.email = email;
	}


	public String getPhone()
	{
		return phone;
	}


	public void setPhone(String phone) 
	{
		this.phone = phone;
	}
	
}
